<%@ include file="../../../include.jsp" %>

<tiles:insertDefinition name="component.layout.SubPanel">
<tiles:putAttribute name="title" value="Your Account > Edit Email Address" />
<tiles:putAttribute name="content">
<form:form cssClass="form" modelAttribute="user">

<div id="form" class="form2">
   <div class="field">
      <div class="field-error"><form:errors path="userDetails.email" /></div>
      <label for="New Email">New Email</label>
      <form:input path="userDetails.email" />
   </div>
   <div class="field">
      <div class="field-error"><form:errors path="password" /></div>
      <label for="Current Password">Enter Password</label>
      <form:password path="password" /> 
   </div>
   <div class="submit">
      <input type="submit" value="<fmt:message key='submit' />" />
   </div>
</div>
</form:form>
</tiles:putAttribute>
</tiles:insertDefinition>
